import Service from "@/service";

//获取主材料分类数据
export function getBuildCategoryDataApi(params: any) {
    return Service.get('/api/buildCategory/getData', {params})
}

//保存主材料分类信息
export function saveBuildCategory(params: any) {
    return Service.post('/api/buildCategory/save', params)
}

//删除主材料分类
export function delBuildCategory(id: string) {
    return Service.delete('/api/buildCategory/del/' + id)
}
